<?php
class CV_Datastore_Metadata_Model_Manager{
	function create_provider( $source ){
		if( $source instanceof CV_Datastore_Metadata_Relational_Provider ){
			return new CV_Datastore_Metadata_Model_Provider_Relational( $source );
		}
		throw new CV_Exeption( 'Cannot create model metadata provider for source of type '.get_class($source) );
	}
}